import java.util.Random;

public class Demo03 {

	public static void main(String[] args) {
		Random ran = new Random();
		int num = ran.nextInt(9999);
		int abc = ran.nextInt(999);
		System.out.println(num + "" +abc);

	}

}